package com.jp.knowledge.webUtil;

import android.os.Handler;
import android.os.Message;
import android.webkit.JavascriptInterface;


public class JavaScriptInterface {
		
	private Handler mHandler;
	private X5WebView webView;
	
	
	public JavaScriptInterface(Handler handler) {
        mHandler = handler;
		this.webView=webView;
    }  
	
	
	@JavascriptInterface
	public void jsCallback(String data){
		Message msg = Message.obtain();  
        msg.obj = data;
        mHandler.sendMessage(msg); 
	}
}
